package com.cuit.doamin;

import java.io.Serializable;
import java.util.List;

public class User implements Serializable {
    private Integer u_id;
    private String u_name;
    private String u_pwd;
    private String u_resume;

    private List<Recruitment> recruitments;

    public List<Recruitment> getRecruitments() {
        return recruitments;
    }

    public void setRecruitments(List<Recruitment> recruitments) {
        this.recruitments = recruitments;
    }

    @Override
    public String toString() {
        return "User{" +
                "u_id=" + u_id +
                ", u_name='" + u_name + '\'' +
                ", u_pwd='" + u_pwd + '\'' +
                ", u_resume='" + u_resume + '\'' +
                '}';
    }

    public Integer getU_id() {
        return u_id;
    }

    public void setU_id(Integer u_id) {
        this.u_id = u_id;
    }

    public String getU_name() {
        return u_name;
    }

    public void setU_name(String u_name) {
        this.u_name = u_name;
    }

    public String getU_pwd() {
        return u_pwd;
    }

    public void setU_pwd(String u_pwd) {
        this.u_pwd = u_pwd;
    }

    public String getU_resume() {
        return u_resume;
    }

    public void setU_resume(String u_resume) {
        this.u_resume = u_resume;
    }
}
